<g:if test="${dataList.size() > 0}">
    <meta charset="utf-8">
    <style type="text/css">
    th{
        width: 9em;
    }
    tr,td{
        border: 1px #ADBFCD solid;
    }
    .odd{
        background-color: #EBEBEB;
    }
</style>
    <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
        <thead>
        <tr>
            <th width="50">NO.</th>
            <g:each in="${tableHeadList}" status="i" var="headInstance">
                <th><g:message code="${headInstance}" default="${headInstance}"/></th>
            </g:each>
        </tr>
        </thead>
        <tbody>
        <g:each in="${dataList}" status="i" var="dataInstance">
            <tr>
                <td>${i + 1}</td>
                <g:each in="${tableHeadList}" status="j" var="headInstance">
                    <td>${dataInstance[headInstance]}</td>
                </g:each>
            </tr>
        </g:each>
        <tr>
            <td colspan="2">合计</td>
            <td>${qtyList[0]}</td>
            <td>${qtyList[1]}</td>
            <td>${qtyList[2]}</td>
            <td>${qtyList[3]}</td>
            <td>${qtyList[4]}</td>
            <td>${qtyList[5]}</td>
            <td>${qtyList[6]}</td>
            <td>${qtyList[7]}</td>
            <td>${qtyList[8]}</td>
            <td>${qtyList[9]}</td>
            <td>${qtyList[10]}</td>
        </tr>
        </tbody>
    </table>
</g:if>